Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook test ci #212

Merged
merged 31 commits into from
Nov 6, 2024
Merged

Notebook test ci #212

merged 31 commits into from
Nov 6, 2024

Conversation

Tigul
Copy link
Collaborator

@Tigul Tigul commented Oct 18, 2024

Description

Added a CI pipeline that automacillay runs all example notebooks and checks whether they are working or not

Also fixed a lot of issues with outdated code in the notebooks

rm -rf tmp
mkdir tmp
jupytext --to notebook *.md
mv *.ipynb tmp && cd tmp
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt this be part of the jb build pipeline?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean the pipeline for the documentation?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No this is specifically so that treon can do the testing for the notebooks

@@ -448,6 +449,9 @@ def __init__(self, world: World, mode: WorldMode):
self.world = world
self.mode: WorldMode = mode

if not "DISPLAY" in os.environ:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document this. Otherwise some user with some weird display setup may complain about not having a bullet world and this will be hell to figure out why

@Tigul Tigul merged commit 7890161 into cram2:dev Nov 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants